package com.csun.nusing.bean.jsonbean;

import java.util.List;

/**
 * Created by Administrator on 2017/11/6.
 */

public class DeviceSleepbyJsonDateJsonBean {


    /**
     * status : true
     * message : 查询成功
     * data : [{"id":1,"mettressId":30,"oldmanId":26,"status":null,"heartRate":80,"turn":2,"breathe":23,"sleepQuality":"好","isOnBed":1,"onBedTime":"20:30","createTime":1508209918000,"modifyTime":1508209919000,"sbp":50,"dbp":80,"modifier":10001},{"id":2,"mettressId":30,"oldmanId":26,"status":null,"heartRate":76,"turn":3,"breathe":21,"sleepQuality":"好","isOnBed":1,"onBedTime":"20:30","createTime":1508899797000,"modifyTime":1508899809000,"sbp":60,"dbp":90,"modifier":10001},{"id":3,"mettressId":30,"oldmanId":26,"status":null,"heartRate":75,"turn":2,"breathe":25,"sleepQuality":"好","isOnBed":1,"onBedTime":"20:30","createTime":1508986194000,"modifyTime":1508986213000,"sbp":55,"dbp":85,"modifier":10001}]
     */

    private boolean status;
    private String message;
    private List<DeviceSleepDataBean> data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DeviceSleepDataBean> getData() {
        return data;
    }

    public void setData(List<DeviceSleepDataBean> data) {
        this.data = data;
    }

    public static class DeviceSleepDataBean {
        /**
         * id : 1
         * mettressId : 30
         * oldmanId : 26
         * status : null
         * heartRate : 80
         * turn : 2  //翻身
         * breathe : 23
         * sleepQuality : 好
         * isOnBed : 1
         * onBedTime : 20:30
         * createTime : 1508209918000
         * modifyTime : 1508209919000
         * sbp : 50
         * dbp : 80
         * modifier : 10001
         */

        private int id;
        private int mettressId;
        private int oldmanId;
        private String status;
        private int heartRate;
        private int turn;
        private int breathe;
        private String sleepQuality;
        private int isOnBed;
        private String onBedTime;
        private long createTime;
        private long modifyTime;
        private int sbp;
        private int dbp;
        private int modifier;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getMettressId() {
            return mettressId;
        }

        public void setMettressId(int mettressId) {
            this.mettressId = mettressId;
        }

        public int getOldmanId() {
            return oldmanId;
        }

        public void setOldmanId(int oldmanId) {
            this.oldmanId = oldmanId;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public int getHeartRate() {
            return heartRate;
        }

        public void setHeartRate(int heartRate) {
            this.heartRate = heartRate;
        }

        public int getTurn() {
            return turn;
        }

        public void setTurn(int turn) {
            this.turn = turn;
        }

        public int getBreathe() {
            return breathe;
        }

        public void setBreathe(int breathe) {
            this.breathe = breathe;
        }

        public String getSleepQuality() {
            return sleepQuality;
        }

        public void setSleepQuality(String sleepQuality) {
            this.sleepQuality = sleepQuality;
        }

        public int getIsOnBed() {
            return isOnBed;
        }

        public void setIsOnBed(int isOnBed) {
            this.isOnBed = isOnBed;
        }

        public String getOnBedTime() {
            return onBedTime;
        }

        public void setOnBedTime(String onBedTime) {
            this.onBedTime = onBedTime;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public long getModifyTime() {
            return modifyTime;
        }

        public void setModifyTime(long modifyTime) {
            this.modifyTime = modifyTime;
        }

        public int getSbp() {
            return sbp;
        }

        public void setSbp(int sbp) {
            this.sbp = sbp;
        }

        public int getDbp() {
            return dbp;
        }

        public void setDbp(int dbp) {
            this.dbp = dbp;
        }

        public int getModifier() {
            return modifier;
        }

        public void setModifier(int modifier) {
            this.modifier = modifier;
        }
    }
}
